first_name = "ada"
last_name = "love"
full_name = f"{first_name} {last_name}"
print(full_name)
# 使用f字符串可完成很多任务，如利用与变量关联的信息来创建完整的消息
print(f"Hello {full_name.title()}")
# 还可以使用f字符串来创建消息，再把整条消息赋给变量
message = f"Hello, {full_name.title()}"
print(message)

full_name = "{} {}".format(first_name, last_name)
print(full_name)